<?php
/*
# ------------------------------------------------------------------------
# JA Teline III - Version 1.3 - Licence Owner jSharing.COM
# ------------------------------------------------------------------------
# Copyright (C) Lifetime Joomla Just for Sharing, Ltd. All Rights Reserved.
# @license - Copyrighted Commercial Software
# Author: Joomla Just for Sharing
# Websites:  http://jsharing.com -  http://jsharing.net
# This file may not be redistributed in whole or significant part.
# ------------------------------------------------------------------------
*/
?>
<div style="display:none;">
<?php echo implode ("\n\n", $this->_comments); ?>
</div>
<script type="text/javascript">

window.addEvent('domready', function(){
	ids = [<?php echo implode (",", $this->_commentsID); ?>];
	ids.each (function(id) {
		holder = $('JaCommentPlaceHolder'+id);
		comment = $('JaCommentContainer'+id);
		if (holder && comment) {
			holder.replaceWith(comment.remove());
		}
	});
});
</script>